package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.PriceLadderingEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.PriceLadderingMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.PriceLadderSingleFact;

public class PriceLadderingEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<PriceLadderingEvent, PriceLadderSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<PriceLadderingEvent, PriceLadderSingleFact> 
	            getCreator( List<PriceLadderSingleFact> dataItems) {
		return new PriceLadderingMessageCreator(dataItems);
	}

}